package com.user.test.viewModel

import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData

class ViewStateViewModel(application: Application) : AndroidViewModel(application) {
    private val holderIsClickable = MutableLiveData(true)

    fun getHolderState(): MutableLiveData<Boolean> {
        return holderIsClickable
    }
    fun setHolderState(state : Boolean){
        holderIsClickable.value = state
    }

}